//
//  SecondViewController.m
//  MaoYan
//
//  Created by 湛家荣 on 15/8/29.
//  Copyright (c) 2015年 湛家荣. All rights reserved.
//

#import "SecondViewController.h"

@interface SecondViewController ()

@end

@implementation SecondViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    UIImage *image=[UIImage imageNamed:@"暂无报修图标@2x.png"];
    UIImageView *imageview=[[UIImageView alloc]initWithImage:image];
    imageview.frame=CGRectMake(([UIScreen mainScreen].bounds.size.width-140)/2, ([UIScreen mainScreen].bounds.size.height/5*1), 140, 140);
    imageview.layer.masksToBounds=YES;
    imageview.layer.cornerRadius=70;
    [self.view addSubview:imageview];
    
    
    UILabel *lable=[[UILabel alloc]init];
    lable.frame=CGRectMake(([UIScreen mainScreen].bounds.size.width-84)/2, (([UIScreen mainScreen].bounds.size.height/5*1)+140+24), 84, 14);
    NSString *string=@"暂无报修记录";
    lable.text=string;
    lable.adjustsFontSizeToFitWidth=YES;
    //lable.font=;
    [self.view addSubview:lable];
    

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
